package com.codingchili.logging.model;

import java.util.List;

/**
 * @author Robin Duda
 */
public class LeaderboardResponse {
    private final PlayerLeaderboard leaderboard;
    private int characters;

    public LeaderboardResponse(PlayerLeaderboard leaderboard, int characters) {
        this.leaderboard = leaderboard;
        this.characters = characters;
    }

    public List<LeaderboardEntry> getEntries() {
        return leaderboard.getEntries();
    }

    public void setEntries(List<LeaderboardEntry> entries) {
        leaderboard.setEntries(entries);
    }

    public int getCharacters() {
        return characters;
    }

    public void setCharacters(int characters) {
        this.characters = characters;
    }
}
